package com.zyg.cod.test;

import com.zyg.cod.annotation.FieldXmlAnnotation;
import com.zyg.cod.annotation.TableXmlAnnotation;

/**
 * @Dsc: 家庭信息
 * @Author: zyg
 * @Date: 2021/1/26
 */
@TableXmlAnnotation(TableName = "fimanyInfo",RelationType = 1,ElementFromName = "FimanyInfo")
public class FimanyInfo {

	@FieldXmlAnnotation(FieldName = "ID",ElementName = "ID",isNeed = false)
	private int id;
	@FieldXmlAnnotation(FieldName = "uid",ElementName = "Uid",isNeed = true)
	private int uid;
	@FieldXmlAnnotation(FieldName = "address",ElementName = "Address",isNeed = true)
	private String  address;

	public FimanyInfo() {
	}

	public FimanyInfo(int id, int uid, String address) {
		this.id = id;
		this.uid = uid;
		this.address = address;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getUid() {
		return uid;
	}

	public void setUid(int uid) {
		this.uid = uid;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}
}
